package com.thy.service.impl;

import com.thy.mapper.UserMapper;
import com.thy.pojo.User;
import com.thy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author  MrDong
 * @create  2021/5/18 16:32
 * @desc    用户
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public List<User> getUser() {
        return userMapper.getUser();
    }
}
